<view class="main">
    <view class="title">成员转盟</view>
    <view class="memberTotal">
        <view class="memberBar" qq:for='{{member}}' wx:key="index">
            <view class="userName">{{item.userName}}</view>
            <van-button class='delete' type="danger" size='mini' bind:click='switchAlliance' data-id="{{item.unionId}}">转盟</van-button>
        </view>
    </view>
    <van-dialog id="van-dialog" />
    <van-toast id="van-toast" />
    <van-popup show="{{ showAct }}" position='bottom'>
        <van-nav-bar
            title="联盟列表"
            left-text="返回"
            right-text="确认"
            left-arrow
            bind:click-left="onClickLeft"
            bind:click-right="onClickRight"
        />
        <van-picker columns="{{ columns }}" bind:change="onChangeAlliance"  class="picker" />
  </van-popup>
</view>